﻿package mortal.component.skin.checkBox
{
    import com.mui.core.*;
    import com.mui.skins.*;
    import fl.core.*;
    import mortal.common.global.*;
    import mortal.game.resource.*;

    public class GCheckBoxStyle extends SkinStyle
    {

        public function GCheckBoxStyle()
        {
            return;
        }// end function

        override public function setStyle(param1:UIComponent) : void
        {
            param1.setStyle("upIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_upSkin));
            param1.setStyle("overIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_upSkin));
            param1.setStyle("downIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_selectedSkin));
            param1.setStyle("disabledIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_disableSkin));
            param1.setStyle("selectedDisabledIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_selectDisableSkin));
            param1.setStyle("selectedUpIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_selectedSkin));
            param1.setStyle("selectedDownIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_selectedSkin));
            param1.setStyle("selectedOverIcon", GlobalClass.getBitmap(ImagesConst.GCheckBox_selectedSkin));
            param1.setStyle("textFormat", GlobalStyle.textFormatPutong);
            param1.setStyle("disabledTextFormat", GlobalStyle.textFormatHui);
            param1.setStyle("textPadding", 0);
            return;
        }// end function

    }
}
